-- GENERATED SPELL FOR [Singer] --


function spell0_2600(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_2600', 30258, 1)
end

function spell1_2600(pUnit, Event) --@Dominate Mind,n/a--
pUnit:FullCastSpellOnTarget(14515,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2600', 17000, 1)
end

function Sorts_2600(pUnit, Event)
local choix_sorts_2600 = math.random(0, 1)
if choix_sorts_2600 == 0 then
pUnit:RegisterEvent('spell0_2600', 1, 1)
end
if choix_sorts_2600 == 1 then
pUnit:RegisterEvent('spell1_2600', 1, 1)
end
end

function mob2600_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2600', math.random(1500, 3000), 1)
end

function mob2600_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2600_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2600_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2600, 1, 'mob2600_Action')
RegisterUnitEvent(2600, 2, 'mob2600_Leave')
RegisterUnitEvent(2600, 3, 'mob2600_Kill')
RegisterUnitEvent(2600, 4, 'mob2600_Die')
